package org.albino.evinreisi.facebook;

import java.io.Serializable;
import com.restfb.types.User;

public class FacebookUser implements Serializable {
	private static final long serialVersionUID = -7249755950560401253L;

	private String id = null;
	private String name = null;
	private String firstName = null;
	private String lastName = null;

	public FacebookUser() {}
	
	public FacebookUser(User user){
		firstName = user.getFirstName();
		lastName = user.getLastName();
		name = user.getName();
		id = user.getId();
	}
	
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getFirstName() {
		return firstName;
	}

	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}

	public String getLastName() {
		return lastName;
	}

	public void setLastName(String lastName) {
		this.lastName = lastName;
	}

	@Override
	public String toString() {
		return "FacebookUser [firstName=" + firstName + ", id=" + id
				+ ", lastName=" + lastName + ", name=" + name + "]";
	}
}